<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>滤镜</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .img {
            object-fit: contain;
            height: 300px;
            width: 300px;
        }

        .img1 {
            /* 投影  x轴 y轴 柔和度*/
            /* filter: drop-shadow(1px 1px rgba(0, 0, 0, 1), 10px 10px rgba(0, 0, 0, 1), 1px 1px rgba(0, 0, 0, 1), 1px 1px rgba(0, 0, 0, 1)); */
            filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.5));
            /* 模糊 */
            /* filter: blur(10px); */
            /* 对比度 */
            /* filter: contrast(10%); */
            /* 灰白度 0 - 1*/
            /* filter: grayscale(1); */
            /* 亮度 0 - 1 */
            /* filter: brightness(0.5); */
            /* 透明度 0 - 1 */
            /* filter: opacity(0.5); */
            /* 设置色相环 */
            /* filter: hue-rotate(90deg); */

            /* 对比 */
            /* box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5); */
            /* background-color: rgba(256, 256, 255); */
            backdrop-filter: blur(10px);
        }

        .back {
            background-color: #000;
            filter: contrast(26);
        }

        .title {
            color: #fff;
            font-size: 150px;
            filter: blur(10px);
        }

        .miaobian {
            -webkit-text-stroke: 10px #444;
            paint-order: stroke fill;
        }
    </style>
</head>

<body>
    <img class="img img1" src="./cloud.png" alt="">
    <div class="back">
        <h1 class="title">666</h1>
    </div>
    <h1 class="miaobian">HELLO WORLD</h1>
</body>

</html>